package com.lt.test.provider.dao;

import java.util.List;
import java.util.Map;

public interface KtProdPriceDao{
	 List query(Map parameter);  
	 int create(Map parameter); 
     int update(Map parameter);   
     int save(Map parameter); 
     int delete(String id);
     Map findById(String id);
     int batch(List values);
     int batchUpdate(List values);
     int batchDelete(List values);

     Map<String,Object> getProdPriceListSize(String typeId, String priceType, String productCode, String productName);
 	List<Map<String,Object>> getProdPriceListByPage(String typeId, String priceType, String productCode, String productName, Long beginNum, Long endNum);

 	void updateProdDiscountPriceByType(String typeId, String priceType, Double discount);
 	
 	Map<String,Object> getRecord(String productCode);
}
